-
Notifications
You must be signed in to change notification settings - Fork 3.4k
chore: Add a CircleCI parameter for target publish-binary branch #32665
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
cacieprins
wants to merge
4
commits into
develop
Choose a base branch
from
ci/parameterize-binary-branch
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ed value for branch - migrates trigger-publish-binary-pipeline.js to an inlined bash script to speed it up and simplify it - adds a pipeline parameter that can be set via CircleCI UI to determine which branch we use in the publish-binary pipeline, to reduce file churn and human error - updates the packages/electron/README.md to include the simplified steps
cacieprins
commented
Oct 7, 2025
- [ ] Temporarily update the circle configuration to allow `cypress` to run against the branch | ||
- [ ] Temporarily set target `cypress-publish-binary` branch as a `branch` property on the request body in [../../scripts/binary/trigger-publish-binary-pipeline.js](../../scripts/binary/trigger-publish-binary-pipeline.js) script, so that you can test against this branch from the electron upgrade branch. This property must be set both at the root of the body object, and on the `parameters` key. If it is not set at the root, the binary pipeline will continue to use the primary branch. | ||
- [ ] Add your branch name to the `&full-workflow-filters` anchor in [`@pipeline.yml`](../../.circleci/src/pipeline/@pipeline.yml) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this can be parameterized as well (separately, to reduce delta surface)
cypress
|
Project |
cypress
|
Branch Review |
ci/parameterize-binary-branch
|
Run status |
|
Run duration | 46m 00s |
Commit |
|
Committer | Cacie Prins |
View all properties for this run ↗︎ |
Test results | |
---|---|
|
1
|
|
13
|
|
1102
|
|
4
|
|
26577
|
View all changes introduced in this branch ↗︎ |
Warning
Partial Report: The results for the Application Quality reports may be incomplete.
UI Coverage
45.69%
|
|
---|---|
|
184
|
|
159
|
Accessibility
97.97%
|
|
---|---|
|
4 critical
8 serious
2 moderate
2 minor
|
|
101
|
Tests for review
cypress/e2e/studio/studio.cy.ts • 1 failed test • app-e2e
Test | Artifacts | |
---|---|---|
Cypress Studio > updates an existing test with assertions |
Test Replay
Screenshots
|
e2e/origin/config_env.cy.ts • 1 flaky test • 5x-driver-electron
Test | Artifacts | |
---|---|---|
cy.origin- Cypress.config() > serializable > overwrites different values in secondary if one exists in the primary |
Test Replay
|
issues/28527.cy.ts • 1 flaky test • 5x-driver-electron
Test | Artifacts | |
---|---|---|
issue 28527 > fails and then retries and verifies about:blank is not displayed |
Test Replay
Screenshots
|
e2e/origin/config_env.cy.ts • 1 flaky test • 5x-driver-chrome
Test | Artifacts | |
---|---|---|
cy.origin- Cypress.config() > serializable > overwrites different values in secondary if one exists in the primary |
Test Replay
|
issues/28527.cy.ts • 1 flaky test • 5x-driver-chrome
Test | Artifacts | |
---|---|---|
issue 28527 > fails and then retries and verifies about:blank is not displayed |
Test Replay
Screenshots
|
e2e/origin/cookie_login.cy.ts • 1 flaky test • 5x-driver-firefox
Test | Artifacts | |
---|---|---|
... > past Max-Age, before Expires -> not logged in |
The first 5 flaky specs are shown, see all 13 specs in Cypress Cloud. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Additional details
This should reduce cognitive load regarding branches when performing Electron upgrades.
Steps to test
How has the user experience changed?
PR Tasks
cypress-documentation
?type definitions
?Note
Introduces a CircleCI parameter to select the target publish-binary branch and replaces the Node trigger script with an inline bash command/command file, updating jobs and docs accordingly.
publish-binary-branch
pipeline parameter in.circleci/config.yml
and@pipeline.yml
; pass it via continuation to packed pipeline.scripts/binary/trigger-publish-binary-pipeline.js
with new commandcommands/trigger-publish-binary-pipeline.yml
(bash-based) that triggers thecypress-publish-binary
pipeline and acceptstarget-repo-branch
.create-and-trigger-packaging-artifacts
to calltrigger-publish-binary-pipeline
withtarget-repo-branch: << pipeline.parameters.publish-binary-branch >>
.packages/electron/README.md
checklist to use the new CircleCI parameter and workflow filter note instead of temporarily modifying the trigger script.Written by Cursor Bugbot for commit b3cd415. This will update automatically on new commits. Configure here.